<?php

/*
 *  Author: Basanas
 *  Returns all the categories that the given user is a simple member (no creator/moderator rights)
 */

function BL_get_categories_with_member($id)
{
    $res = DB_get_categories_member_of($id, $categories);

    if ( $res == DB_ERROR_CANNOT_GET_CATEGORIES ) {
        return BL_GET_CATEGORIES_WITH_MEMBER;
    }

    return $categories;
}

?>